<template>
   <div>
     app
     <button @click="addCount">{{count}}</button>
     <p><button @click="addNum">{{num}}</button></p>
     <p>{{double}}</p>
   </div>
</template>

<script>
import HookCount from './hooks/count'
import HookNum from './hooks/Num'
export default {
    name:'App',
    setup(){
      const CountState = HookCount();
      const NumState = HookNum()
      return{
        ...CountState,
        ...NumState
      }
    }
}
</script>
